.order-detail {
  height: calc(100vh - env(safe-area-inset-bottom));
  overflow: hidden;
  background-color: #f5f5f5;
  position: relative;

  .order-detail-navigation {
    display: flex;
    align-items: center;
    position: relative;
    background-color: white;

    .order-detail-navigation-arrow {
      position: absolute;
      left: 25rpx;
      font-size: 35rpx;
    }

    .order-detail-navigation-title {
      margin: 0 auto;
      font-size: 40rpx;
    }
  }

  .order-detail-delivery-address {
    overflow: hidden;
    padding: 30rpx;
    padding-top: 20rpx;
    padding-bottom: 20rpx;
    background-color: white;

    .order-detail-delivery-address-first-row {
      display: flex;
      align-items: center;

      .order-detail-delivery-address-first-row-icon {
        font-size: 40rpx;
      }

      .order-detail-delivery-address-first-row-icon-address {
        font-size: 30rpx;
        /* 核心省略号样式 */
        white-space: nowrap;
        /* 禁止文本换行 */
        overflow: hidden;
        /* 超出部分隐藏 */
        text-overflow: ellipsis;
        /* 超出部分显示省略号 */
        /* 设置最大宽度（根据实际布局调整） */
        max-width: 80%;
      }

      .order-detail-delivery-address-first-row-modify-button {
        margin-left: auto;
        display: flex;
        align-items: center;
        font-size: 30rpx;
        color: #1989fa;

        .order-detail-delivery-address-first-row-modify-button-text {}

        .order-detail-delivery-address-first-row-modify-button-icon {}
      }
    }

    .order-detail-delivery-address-second-row {
      display: flex;
      margin-left: 40rpx;
      color: #8c8c8d;
      align-items: center;
      margin-top: 10rpx;

      .order-detail-delivery-address-second-row-receiver-name {}

      .order-detail-delivery-address-second-row-receiver-number {
        margin-left: 10rpx;
      }

      .order-detail-delivery-address-second-row-tip {
        font-size: 20rpx;
        border: 2rpx solid #d7d7d8;
        padding: 5rpx 10rpx;
        border-radius: 15rpx;
        margin-left: 10rpx;
      }
    }
  }

  .order-detail-status {
    overflow: hidden;
    background-color: white;
    margin-top: 15rpx;

    .order-detail-status-pending-payment {
      overflow: hidden;
      font-size: 30rpx;
      padding: 28rpx;

      .order-detail-status-pending-payment-title {}

      .order-detail-status-pending-payment-count-down {
        .order-detail-status-pending-payment-count-down-item {}
      }
    }
    .order-detail-status-pending-shiping{
      padding: 25rpx 30rpx;
      display: flex;
      align-items: center;
      .order-detail-status-pending-shiping-image{
        width: 45rpx;
        height: 45rpx;
      }
      .order-detail-status-pending-shiping-text{
        font-size: 30rpx;
        margin-left: 10rpx;
      }
    }
  }

  .order-detail-list {
    background-color: white;
    margin-top: 15rpx;
    padding: 20rpx 30rpx;
    overflow: hidden;

    .order-detail-list-title {
      font-size: 35rpx;
      font-weight: bold;
    }

    .order-detail-list-item {
      margin-top: 15rpx;
      display: flex;

      .order-detail-list-item-image {
        width: 120rpx;
        height: 120rpx;
        border: 2rpx solid #f5f5f5;
        border-radius: 25rpx;
        flex-shrink: 0;
      }

      .order-detail-list-item-product-information {
        display: flex;
        flex-direction: column;
        justify-content: space-between;

        .order-detail-list-item-product-information-product-name {
          font-size: 28rpx;
          /* 关键样式 */
          display: -webkit-box;
          -webkit-box-orient: vertical;
          -webkit-line-clamp: 2;
          /* 显示的行数 */
          overflow: hidden;
          /* 超出部分隐藏 */
          text-overflow: ellipsis;
          /* 显示省略号 */
          /* 可选：设置行高确保显示正常 */
          line-height: 1.5;
        }

        .order-detail-list-item-product-information-product-specification-name {
          font-size: 25rpx;
          color: #949494;
          margin-bottom: 15rpx;
        }
      }

      .order-detail-list-item-price-and-quantity {
        font-size: 20rpx;
        display: flex;
        flex-direction: column;
        justify-content: space-between;

        .order-detail-list-item-price {
          margin-top: 10rpx;
        }

        .order-detail-list-item-quantity {
          text-align: right;
          margin-bottom: 15rpx;
        }
      }
    }
  }

  .order-detail-price {
    background-color: white;
    margin-top: 15rpx;
    padding: 20rpx 30rpx;
    overflow: hidden;

    .order-detail-price-title {
      font-size: 35rpx;
      font-weight: bold;
    }

    .order-detail-price-item {
      display: flex;
      justify-content: space-between;
      margin-top: 30rpx;
      align-items: baseline;

      .order-detail-price-item-key {
        color: #888888;
        font-size: 25rpx;
      }

      .order-detail-price-item-value {
        font-size: 25rpx;
      }
    }

    .order-detail-price-bottom {
      font-size: 30rpx;
      margin-top: 10rpx;
      text-align: right;

      .order-detail-price-bottom-actual-price {
        color: red;
      }
    }
  }

  .order-detail-information {
    background-color: white;
    margin-top: 15rpx;
    padding: 20rpx 30rpx;
    overflow: hidden;

    .order-detail-information-title {
      font-size: 35rpx;
      font-weight: bold;
    }

    .order-detail-information-item {
      display: flex;
      justify-content: space-between;
      margin-top: 30rpx;
      align-items: baseline;

      .order-detail-information-item-key {
        color: #888888;
        font-size: 25rpx;
      }

      .order-detail-information-item-value {
        font-size: 25rpx;
      }
    }

    .order-detail-information-note {
      margin-top: 30rpx;
      overflow: hidden;

      .order-detail-information-note-key {
        color: #888888;
        font-size: 25rpx;
      }

      .order-detail-information-note-value {
        margin-top: 10rpx;
        font-size: 25rpx;
      }
    }

  }
  .order-detail-contact-support-hover {
    background-color: #f5f5f5;
    font-size: 40rpx;
    box-shadow: 0 1rpx 4rpx rgba(0, 0, 0, 0.02);
    .order-detail-contact-support-image {
      width: 40rpx;
      height: 40rpx;
    }
  }
  .order-detail-contact-support {
    margin-top: 20rpx;
    background-color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    padding-top: 28rpx;
    padding-bottom: 28rpx;
    transition: all 0.2s ease;

    .order-detail-contact-support-image {
      width: 30rpx;
      height: 30rpx;
    }

    .order-detail-contact-support-text {
      margin-left: 20rpx;
    }

  
  }

  .order-detail-bottom-buttons {
    position: absolute;
    width: 100vw;
    background-color: white;
    bottom: 0;
    height: 110rpx;
    display: flex;
    align-items: center;

    .order-detail-bottom-buttons-item {
      padding: 20rpx 30rpx;
      background-color: #f5f5f5;
      border-radius: 99rpx;
      font-size: 25rpx;
      transition: all 0.2s ease;
      margin-right: 15rpx;
      &:first-child{
        margin-left: auto;
      }
      &:last-child {
        background-color: #A7E1E4;
      }
    }

    .order-detail-bottom-buttons-item-hover {
      transform: scale(0.90);
      box-shadow: 0 1rpx 3rpx rgba(0, 0, 0, 0.2);
    }
  }
}